function showLinkForm(){
    document.getElementById("addform").style.display = "block";
    document.getElementById("showlinkform").style.display = "none";
    return false;
}

function hideLinkForm(){
    document.getElementById("addform").style.display = "none";
    document.getElementById("showlinkform").style.display = "";
    return false;
}


function ShowText(id){
    document.getElementById("imgblock["+id+"]").style.display = "block";
    document.getElementById("showlink["+id+"]").style.display = "none";
    return false;
}

function HideText(){
    document.getElementById("imgblock["+id+"]").style.display = "none";
    document.getElementById("showlink["+id+"]").style.display = "";
    return false;
}